package learningThread.syn.synchronizedMethodLockObj.lock.condition.simple;


public class TestCondition {

    public static void main(String[] args) {
        try {
            MyService myService = new MyService();
            MyThread myThread1 = new MyThread(myService);

            myThread1.start();

            Thread.sleep(3000);
            myService.signal();
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
